
<?php echo $this->fetch('pageheader.htm'); ?>
<?php echo $this->smarty_insert_scripts(array('files'=>'js/utils.js,selectzone.js,colorselector.js')); ?>
<script type="text/javascript" src="js/calendar.php?lang=<?php echo $this->_var['cfg_lang']; ?>"></script>
<link href="js/calendar/calendar.css" rel="stylesheet" type="text/css" />

<?php if ($this->_var['warning']): ?>
<ul style="padding:0; margin: 0; list-style-type:none; color: #CC0000;">
  <li style="border: 1px solid #CC0000; background: #FFFFCC; padding: 10px; margin-bottom: 5px;" ><?php echo $this->_var['warning']; ?></li>
</ul>
<?php endif; ?>


<div class="tab-div">
    
    <div id="tabbody-div">      
        <table width="90%" id="general-table" align="center">
          <tr>
            <td class="label">Project Subject</td>
            <td><?php echo $this->_var['project']['subject']; ?></td>
          </tr>
          <tr>
            <td class="label">Project ID </td>
            <td><?php echo $this->_var['project']['pid']; ?></td>
          </tr>
          <tr>
            <td class="label">Looking for</td>
            <td><?php echo $this->_var['trainer_type']['trainerType']; ?></td>
          </tr>
		  <tr>
            <td class="label">Training type</td>
            <td><?php echo $this->_var['training_type']['trainingType']; ?></td>
          </tr>
		  <tr>
            <td class="label">How many training sessions</td>
            <td><?php echo $this->_var['sessions_type']['sessionType']; ?></td>
          </tr>
		  <tr>
            <td class="label">Length per session</td>
            <td><?php echo $this->_var['session_length']['lengthType']; ?></td>
          </tr>
		  <tr>
            <td class="label">Training budget</td>
            <td><?php echo $this->_var['budget']['budgetType']; ?></td>
          </tr>
		  <tr>
            <td class="label">Quoting closes</td>
            <td><?php echo $this->_var['quoting']['quotingType']; ?></td>
          </tr>
		  <tr>
            <td class="label">City/Town</td>
			<td><?php echo $this->_var['project']['city']; ?></td>
          </tr>
		  <tr>
            <td class="label">How many friends do you intend to bring</td>
            <td><?php echo $this->_var['friends_num']['friendsnum']; ?></td>
          </tr>
          <tr>
            <td class="label">Details about your training goals</td>
			<td><?php echo $this->_var['project']['content']; ?></td>
          </tr>
		  <tr>
            <td class="label">Special Request</td>
			<td><?php echo $this->_var['project']['specialReq']; ?></td>
          </tr>
        </table>
		<br/>
	<form enctype="multipart/form-data" action="proposals.php?pid=<?php echo $this->_var['proposal']['pid']; ?>&ppid=<?php echo $this->_var['proposal']['ppid']; ?>&uid=<?php echo $this->_var['proposal']['uid']; ?>" method="post" name="theForm" onsubmit="return validate();">
        
		<table>
		<tr>
            <td class="label">My Training Proposal</td>
        </tr>
		<tr>
            <td class="label">Subject line:</td>
            <td><input type="text" name="proposal_subject" value="<?php echo $this->_var['proposal']['proposalSubject']; ?>" style="float:left;color:<?php echo $this->_var['goods_name_color']; ?>;" size="30" /></td>
        </tr>
		<tr>
			<td class="label">Accessories:</td>
			<td><?php echo $this->_var['proposal']['accessories']; ?></td>
		</tr>
		<tr>		
            <td class="label">Reset Accessories:<input type = "hidden" name = "MAX_FILE_SIZE" value ="1000000" style="float:left;color:<?php echo $this->_var['goods_name_color']; ?>;"/></td>			
            <td><input name = "userfile" type = "file" value="<?php echo $this->_var['proposal']['accessories']; ?>" /></td>
        </tr>
  		<tr>
    		<td colspan="2" style="height:100px;text-align:center;" class="label"> 
			<input type="submit" value="Save The Proposal Change" class="button" />
			</td>
			<input type="hidden" name="act" value="act_EditClientProposal" />
  		</tr>       
	  </table>    
    </form>
    </div>
</div>

<?php echo $this->fetch('pagefooter.htm'); ?>